/**
 * 
 */
package com.alstudio.ui.module.setting;

import android.content.Context;
import android.os.Bundle;
import android.view.View;

import com.alstudio.R;
import com.alstudio.ui.base.TitleBarActivity;

/**
 * 关于界面，继承与TitleBar界面。缺省title栏上 只有一个返回按钮。
 * 
 * @author Alonso Lee
 * 
 */
public class AboutActivity extends TitleBarActivity {
	// 调试TAG
	private final String TAG = "AboutActivity";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		// 初始化UI
		setupView(this, TAG);
	}

	@Override
	protected void onStart() {
		// TODO Auto-generated method stub
		super.onStart();
		enableReceiveXmppEvent();
	}

	@Override
	protected void onStop() {
		// TODO Auto-generated method stub
		super.onStop();
	}

	@Override
	protected void setupView(Context context, String name) {
		// TODO Auto-generated method stub
		super.setupView(context, name);
		// 设定本界面layout
		setTitleBarContentView(R.layout.about_layout);
		// 设定状态栏中间文字区域内容
		setCenterTextViewMessage(getString(R.string.TxtAboutTitle));
		// 设定左边按钮背景图片
		setLeftButtonBackground(R.drawable.title_bar_back_button_selector);
		// 隐藏右边按钮
		hideRightButton(true);
	}

	@Override
	public void handleLoginedEvent() {
		// TODO Auto-generated method stub
	}

	@Override
	public void handleLogoutEvent() {
		// TODO Auto-generated method stub
	}

	@Override
	public void handlerOnConflictEvent() {
		// TODO Auto-generated method stub

	}

	@Override
	public void handlerOnNewMessageArrivedEvent() {
		// TODO Auto-generated method stub

	}

	@Override
	public void handlerOnMessageReceipt() {
		// TODO Auto-generated method stub

	}

	@Override
	protected void initData() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		
	}

}
